package com.szewec.ps.ui.appauth;

import java.io.Serializable;

/**
 * 用户授权或取消授权请求参数model
 */
public class AuthModel implements Serializable {
    private String appId;
    private String tenantId;
    /**
     * true是授权,false是取消授权 ,
     */
    private Boolean flag;
    /**
     *  被授权用户id,多个用英文逗号隔开 ,
     */
    private String ids;

    public AuthModel() {
    }

    public AuthModel(String appId, String tenantId, Boolean flag, String ids) {
        this.appId = appId;
        this.tenantId = tenantId;
        this.flag = flag;
        this.ids = ids;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public Boolean getFlag() {
        return flag;
    }

    public void setFlag(Boolean flag) {
        this.flag = flag;
    }

    public String getIds() {
        return ids;
    }

    public void setIds(String ids) {
        this.ids = ids;
    }
}
